<script type="text/javascript" src="/assets/js/R3_BigData.action.js"></script>
	<!--页面按键事件-->
	<!-- 配置文件 -->
    <script type="text/javascript" src="/assets/js/ueditor/ueditor.config.js"></script>
    <!-- 编辑器源码文件 -->
    <script type="text/javascript" src="/assets/js/ueditor/ueditor.all.js"></script>

	<link href="/assets/js/ueditor/themes/default/css/ueditor.css" type="text/css" rel="stylesheet">
<script language="javascript">
	var editor = new UE.ui.Editor({zIndex : 90000});
	editor.render("content");
</script>

<div class="artCon">
	<div class="middleArt">
	<form class="form-horizontal" id="organaddForm" data-toggle="form" name="organaddForm" action="<#if helpdetail??>/${orgi}/manage/help/<#if parent??>${parent.id!''}<#else>0</#if>/${helpdetail.id!''}/helpedito.html<#else>/${orgi}/manage/help/helpaddo.html</#if>" method="post">
			
		<div class="artMain">
			<div class="mainCenter">
					<fieldset class="control-group">
						<label class="control-label" for="name">所属分组：</label>
						<div class="controls">
							<i class="input-label"><#if parent??>${parent.name!''}<#else>系统帮助</#if></i>
							<input type="hidden" name="groupid" value="<#if parent??>${parent.id!''}<#else>0</#if>"/>
						</div>
					</fieldset>
					<fieldset class="control-group">
						<label class="control-label" for="name" id="organname">帮助名称：</label>
						<div class="controls">
							<input class="required span3" value="<#if helpdetail??>${helpdetail.name!''}</#if>" maxlength="255" name="name" type="text" />
							<span class="help-inline"></span><i class="inputip">*</i>
						</div>
					</fieldset>
					<fieldset class="control-group">
						<label class="control-label" for="sort" id = "groupsort">排序：</label>
						<div class="controls">
							<input  class="span3 required number" value="<#if helpdetail??>${helpdetail.sort!''}</#if>" maxlength="255" name="sort" type="text" />
							<span class="help-inline"></span><i class="inputip">*</i> 
						</div>
					</fieldset>
					<fieldset class="control-group">
						<label class="control-label" for="name">描述：</label>
						<div class="controls">
							<textarea name="description" id="description" class="span12" style="height:30px;width:89%"><#if helpdetail??>${helpdetail.description!''}</#if></textarea></td>
						</div>
					</fieldset>
					<fieldset class="control-group">
						<label class="control-label" for="name">内容编辑：</label>
						<div class="controls">
							<textarea name="content" resize="none" id="content" class="span12" style="height:120px;width:95%;resize:none;max-height: 120;"><#if helpdetail??>${helpdetail.content!''}</#if></textarea></td>
						</div>
					</fieldset>

				</div>
		</div>
		<div class="mainCenter">
		</div>
		<div class="bottomBg">
			<div class="btnWrap">
				<input type="submit" class="subButtonStyle" value="确认"/>
				<input type="button" onclick="closeR3ArtDialog()" class="cancelButtonStyle" value="取消"/>
			</div>
		</div>
	</form>
	</div>
</div>
<script type="text/javascript">
	$(function(){
		$(".mainCenter ul li").hover(function(){
			$(this).addClass("cur").siblings("li").removeClass("cur");
		},function(){
			$(this).removeClass("cur");	
		});
	})
</script>
